home *** CD-ROM | disk | FTP | other *** search
/ Chip 2001 November / Chip_2001-11_cd1.bin / sharewar / Slunec / app / is32ex.exe / {app} / Samples / Sample3.iss (.txt) < prev   
Encoding:
Inno Setup Script  |  2001-04-14  |  1.5 KB  |  32 lines

  1. ; -- Sample3.iss --
  2. ; Same as Sample1.iss, but creates some registry entries too.
  3. ; SEE THE DOCUMENTATION FOR DETAILS ON CREATING .ISS SCRIPT FILES!
  4. [Setup]
  5. AppName=My Program
  6. AppVerName=My Program version 1.5
  7. AppCopyright=Copyright (C) 1997-2000 My Company, Inc.
  8. DefaultDirName={pf}\My Program
  9. DefaultGroupName=My Program
  10. UninstallDisplayIcon={app}\MyProg.exe
  11. ; uncomment the following line if you want your installation to run on NT 3.51 too.
  12. ; MinVersion=4,3.51
  13. [Files]
  14. Source: "MyProg.exe"; DestDir: "{app}"
  15. Source: "MyProg.hlp"; DestDir: "{app}"
  16. Source: "Readme.txt"; DestDir: "{app}"; Flags: isreadme
  17. [Icons]
  18. Name: "{group}\My Program"; Filename: "{app}\MyProg.exe"
  19. ; NOTE: Most apps do not need registry entries to be pre-created. If you
  20. ; don't know what the registry is or if you need to use it, then chances are
  21. ; you don't need a [Registry] section.
  22. [Registry]
  23. ; Start "Software\My Company\My Program" keys under HKEY_CURRENT_USER
  24. ; and HKEY_LOCAL_MACHINE. The flags tell it to always delete the
  25. ; "My Program" keys upon uninstall, and delete the "My Company" keys
  26. ; if there is nothing left in them.
  27. Root: HKCU; Subkey: "Software\My Company"; Flags: uninsdeletekeyifempty
  28. Root: HKCU; Subkey: "Software\My Company\My Program"; Flags: uninsdeletekey
  29. Root: HKLM; Subkey: "Software\My Company"; Flags: uninsdeletekeyifempty
  30. Root: HKLM; Subkey: "Software\My Company\My Program"; Flags: uninsdeletekey
  31. Root: HKLM; Subkey: "Software\My Company\My Program\Settings"; ValueType: string; ValueName: "Path"; ValueData: "{app}"
  32.